<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  

  
  <title>My Blog</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="This is my first blog.">
<meta property="og:type" content="website">
<meta property="og:title" content="My Blog">
<meta property="og:url" content="http://yoursite.com/page/10/index.html">
<meta property="og:site_name" content="My Blog">
<meta property="og:description" content="This is my first blog.">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Alanisia">
<meta name="twitter:card" content="summary">
  
    <link rel="alternate" href="/atom.xml" title="My Blog" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.ico">
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  
<link rel="stylesheet" href="/css/style.css">

<meta name="generator" content="Hexo 4.2.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">My Blog</a>
      </h1>
      
        <h2 id="subtitle-wrap">
          <a href="/" id="subtitle">我的博客 -- 记录编程过程中所遇到的问题与总结</a>
        </h2>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="搜索"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://yoursite.com"></form>
      </div>
    </div>
  </div>
</header>
      <div class="outer">
        <section id="main">
  
    <article id="post-ubuntu-node" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/ubuntu-node/" class="article-date">
  <time datetime="2020-05-10T14:43:54.000Z" itemprop="datePublished">2020-05-10</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/ubuntu-node/">ubuntu安装nodejs</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <ol>
<li>添加软件源</li>
</ol>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - <span class="comment"># 10.x指版本号为10.x</span></span><br></pre></td></tr></table></figure>

<p>若未安装curl，请先安装：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt-get install curl -y</span><br></pre></td></tr></table></figure>

<ol start="2">
<li>执行安装命令</li>
</ol>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt-get install -y nodejs</span><br></pre></td></tr></table></figure>

<h2 id="node版本管理器n"><a href="#node版本管理器n" class="headerlink" title="node版本管理器n"></a>node版本管理器n</h2><ul>
<li>安装</li>
</ul>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo npm i -g n</span><br></pre></td></tr></table></figure>
<ul>
<li>命令</li>
</ul>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">$ n <span class="comment"># 查看版本</span></span><br><span class="line">$ n latest <span class="comment"># 安装最新版</span></span><br><span class="line">$ n stable <span class="comment"># 安装稳定版</span></span><br><span class="line">$ n rm x.x.x <span class="comment"># 删除某个已安装版本</span></span><br><span class="line">$ n use x.x.x x.js <span class="comment"># 以某个版本来执行脚本</span></span><br></pre></td></tr></table></figure>

<p>nodejs官方中文文档链接：<a href="http://nodejs.cn/docs" target="_blank" rel="noopener">node.js-api官方中文文档</a>。</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://yoursite.com/ubuntu-node/" data-id="ckpb8zvkx002tdsvlbzf90qui" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/nodejs/" rel="tag">nodejs</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-json" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/json/" class="article-date">
  <time datetime="2020-03-30T12:59:57.000Z" itemprop="datePublished">2020-03-30</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/json/">JSON(JavaScript Object Notation)</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>JSON(JavaScript Object Notation)，js对象表示法，是一种轻量级（和xml相比很轻量）的数据交换模式；<br><code>{key:value,key:value}</code><br>value:可以有很多种：</p>
<ol>
<li>基本类型（字符串、数字、布尔值）</li>
<li>数组[]</li>
<li>对象{}:js对象属性操作特别方便</li>
</ol>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">// 例子</span></span><br><span class="line"><span class="keyword">var</span> student = &#123;</span><br><span class="line">	lastName:<span class="string">"张三"</span>,</span><br><span class="line">	age:<span class="number">18</span>,</span><br><span class="line">	car:&#123;</span><br><span class="line">		pp:<span class="string">"宝马"</span>,</span><br><span class="line">		price:<span class="string">"30000$"</span></span><br><span class="line">	&#125;,</span><br><span class="line">	infos:[&#123;</span><br><span class="line">		bookName:<span class="string">"西游记"</span>,</span><br><span class="line">		price:<span class="number">98.8</span></span><br><span class="line">	&#125;,<span class="number">18</span>,<span class="literal">true</span>]</span><br><span class="line">&#125;;</span><br></pre></td></tr></table></figure>

<p>操作对象：</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">alert(student.car.pp); <span class="comment">//宝马</span></span><br><span class="line">alert(student.infos[<span class="number">2</span>]); <span class="comment">//true</span></span><br></pre></td></tr></table></figure>

<p>js对象在声明的时候key是否加双引号是可以选择的；json的要求和js对象是一样的，只不过key必须是字符串</p>
<p>如果服务器返回给浏览器的数据是js对象这种样子的，浏览器使用js解析就会很方便；</p>
<p>JSON应该是利于传输的字符串</p>
<p>JSON(JS内置对象):将js对象转为json(应该是js对象的字符串表示法)字符串：</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> student2 = &#123;<span class="string">"lastName"</span>:<span class="string">"张三"</span>,<span class="string">"age"</span>:<span class="number">18</span>&#125;;</span><br><span class="line">alert(<span class="keyword">typeof</span> student2); <span class="comment">//object</span></span><br><span class="line"><span class="keyword">var</span> strJson = <span class="built_in">JSON</span>.stringify(student2); <span class="comment">//将js对象转为json字符串</span></span><br><span class="line">alert(<span class="keyword">typeof</span> strJson); <span class="comment">//string</span></span><br></pre></td></tr></table></figure>

<p>另外，</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//假设服务器给我们这么一个字符串</span></span><br><span class="line"><span class="keyword">var</span> jsonStr = <span class="built_in">JSON</span>.stringify(stu);</span><br><span class="line">alert(jsonStr); <span class="comment">//undefined</span></span><br><span class="line"><span class="comment">//想使用这个字符串，并获取到它原来代表的js对象里面的属性值</span></span><br><span class="line"><span class="comment">//需要把字符串（满足js对象表示法(json)格式）转为js对象</span></span><br><span class="line"><span class="keyword">var</span> stu02 = <span class="built_in">JSON</span>.parse(jsonStr); <span class="comment">//将字符串再次回转为js对象</span></span><br><span class="line">alert(stu02); <span class="comment">//张三</span></span><br></pre></td></tr></table></figure>


      
    </div>
    <footer class="article-footer">
      <a data-url="http://yoursite.com/json/" data-id="ckpb8zvjx0014dsvl6bi8d2k6" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/json/" rel="tag">json</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-ajax" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/ajax/" class="article-date">
  <time datetime="2020-03-30T12:54:37.000Z" itemprop="datePublished">2020-03-30</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/ajax/">AJAX(Asynchronous JavaScript And XML,异步JavaScript和XML)</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>AJAX(Asynchronous JavaScript And XML,异步JavaScript和XML)， 是指一种创建交互式网页应用的网页开发技术。AJAX是一种浏览器异步发起请求，局部更新页面的技术。是一种无刷新页面与服务器的交互技术（页面不刷新就可以收到服务器相应的数据）。</p>
<p>原来的交互：</p>
<ol>
<li><p>发送请求；</p>
</li>
<li><p>服务器收到请求，调用对应的servlet进行处理；servlet处理完成会有响应信息生成；</p>
</li>
<li><p>浏览器收到了服务器响应的数据，把之前的页面清除，展示新的数据（效果就是页面刷新）</p>
</li>
</ol>
<p>现在的交互：（XMLHttpRequest对象）</p>
<ol>
<li><p>XMLHttpRequest对象帮我们发送请求；</p>
</li>
<li><p>服务器受到请求，调用对应的servlet进行处理；servlet处理完成后会有响应信息生成； </p>
</li>
<li><p>XMLHttpRequest对象收数据</p>
</li>
</ol>
<p>总结：什么是ajax：xhr对象向服务器发送请求，并收到响应数据，利用dom增删改的方式改变页面效果</p>
<ul>
<li>异步：不会阻塞浏览器</li>
<li>同步：会阻塞浏览器，因为需要等到服务器整个处理完请求，完成响应以后才能做其他事情</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://yoursite.com/ajax/" data-id="ckpb8zvii0000dsvl0ynehmb6" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/javascript/" rel="tag">javascript</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-tar" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/tar/" class="article-date">
  <time datetime="2020-03-23T10:10:12.000Z" itemprop="datePublished">2020-03-23</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/tar/">tar命令</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>（本文摘抄自<a href="man.linuxde.net/tar">tar命令_Linux命令大全</a>）</p>
<p>tar命令可以为linux的文件和目录创建档案。利用tar可以为某一特定文件创建档案（备份文件），也可以在档案中改变文件，或者向档案中加入新的文件。</p>
<h3 id="打包和压缩"><a href="#打包和压缩" class="headerlink" title="打包和压缩"></a>打包和压缩</h3><ul>
<li><p>打包：指将一大堆文件或目录变成一个总的文件</p>
</li>
<li><p>压缩：将一个大的文件通过一些压缩算法变成一个小文件</p>
</li>
</ul>
<h2 id="语法"><a href="#语法" class="headerlink" title="语法"></a>语法</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">$ tar [OPTION...] [FILE]...</span><br><span class="line">Examples:</span><br><span class="line">  tar -cf archive.tar foo bar  <span class="comment"># Create archive.tar from files foo and bar.</span></span><br><span class="line">  tar -tvf archive.tar         <span class="comment"># List all files in archive.tar verbosely.</span></span><br><span class="line">  tar -xf archive.tar          <span class="comment"># Extract all files from archive.tar.</span></span><br></pre></td></tr></table></figure>

<h4 id="选项"><a href="#选项" class="headerlink" title="选项"></a>选项</h4><ul>
<li>-A或–catenate：新增文件到以存在的备份文件；</li>
<li>-B：设置区块大小；</li>
<li>-c或–create：建立新的备份文件；</li>
<li>-C &lt;目录&gt;：这个选项用在解压缩，若要在特定目录解压缩，可以使用这个选项。</li>
<li>-d：记录文件的差别；</li>
<li>-x或–extract或–get：从备份文件中还原文件；</li>
<li>-t或–list：列出备份文件的内容；</li>
<li>-z或–gzip或–ungzip：通过gzip指令处理备份文件；</li>
<li>-Z或–compress或–uncompress：通过compress指令处理备份文件；</li>
<li>-f&lt;备份文件&gt;或–file=&lt;备份文件&gt;：指定备份文件；</li>
<li>-v或–verbose：显示指令执行过程；</li>
<li>-r：添加文件到已经压缩的文件；</li>
<li>-u：添加改变了和现有的文件到已经存在的压缩文件；</li>
<li>-j：支持bzip2解压文件；</li>
<li>-v：显示操作过程；</li>
<li>-l：文件系统边界设置；</li>
<li>-k：保留原有文件不覆盖；</li>
<li>-m：保留文件不被覆盖；</li>
<li>-w：确认压缩文件的正确性；</li>
<li>-p或–same-permissions：用原来的文件权限还原文件；</li>
<li>-P或–absolute-names：文件名使用绝对名称，不移除文件名称前的“/”号；</li>
<li>-N &lt;日期格式&gt; 或 –newer=&lt;日期时间&gt;：只将较指定日期更新的文件保存到备份文件里；</li>
<li>–exclude=&lt;范本样式&gt;：排除符合范本样式的文件</li>
</ul>
<h4 id="参数"><a href="#参数" class="headerlink" title="参数"></a>参数</h4><p>文件或目录：指定要打包的文件或目录列表</p>
<h2 id="实例"><a href="#实例" class="headerlink" title="实例"></a>实例</h2><ul>
<li>将文件全部打成tar包</li>
</ul>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">$ tar -cvf foo.tar foo <span class="comment"># 将foo文件打包进foo.tar</span></span><br><span class="line">$ tar -zcvf foo.tar.gz foo <span class="comment"># 将foo文件打包进foo.tar.gz，使用gzip2压缩算法</span></span><br><span class="line">$ tar -jcvf foo.tar.bz2 foo <span class="comment"># 将foo文件打包进foo.tar.bz2，使用bzip2压缩算法</span></span><br></pre></td></tr></table></figure>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://yoursite.com/tar/" data-id="ckpb8zvkm0029dsvlhcrhbcbv" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/linux/" rel="tag">linux</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-termux" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/termux/" class="article-date">
  <time datetime="2020-03-21T16:03:44.000Z" itemprop="datePublished">2020-03-21</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/termux/">Termux</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>termux是一款安卓系统的终端模拟器，内置busybox和apt包管理器。</p>
<p>不定期更新。</p>
<h2 id="换源"><a href="#换源" class="headerlink" title="换源"></a>换源</h2><h3 id="自动换源"><a href="#自动换源" class="headerlink" title="自动换源"></a>自动换源</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">sed -i <span class="string">'s@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@'</span> <span class="variable">$PREFIX</span>/etc/apt/sources.list</span><br><span class="line">sed -i <span class="string">'s@^\(deb.*games stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable@'</span> <span class="variable">$PREFIX</span>/etc/apt/sources.list.d/game.list</span><br><span class="line">sed -i <span class="string">'s@^\(deb.*science stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable@'</span> <span class="variable">$PREFIX</span>/etc/apt/sources.list.d/science.list</span><br><span class="line">apt update &amp;&amp; apt upgrade</span><br></pre></td></tr></table></figure>

<h3 id="手动修改"><a href="#手动修改" class="headerlink" title="手动修改"></a>手动修改</h3><p>编辑 <code>$PREFIX/etc/apt/sources.list</code> 修改为如下内容：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"># The termux repository mirror from TUNA:</span><br><span class="line">deb https:&#x2F;&#x2F;mirrors.tuna.tsinghua.edu.cn&#x2F;termux&#x2F;termux-packages-24 stable main</span><br></pre></td></tr></table></figure>

<p>编辑 <code>$PREFIX/etc/apt/sources.list.d/science.list</code> 修改为如下内容：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"># The termux repository mirror from TUNA:</span><br><span class="line">deb https:&#x2F;&#x2F;mirrors.tuna.tsinghua.edu.cn&#x2F;termux&#x2F;science-packages-24 science stable</span><br></pre></td></tr></table></figure>

<p>编辑 <code>$PREFIX/etc/apt/sources.list.d/game.list</code> 修改为如下内容：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"># The termux repository mirror from TUNA:</span><br><span class="line">deb https:&#x2F;&#x2F;mirrors.tuna.tsinghua.edu.cn&#x2F;termux&#x2F;game-packages-24 games stable</span><br></pre></td></tr></table></figure>

<p>请使用内置或安装在 Termux 里的文本编辑器，例如 <code>vi</code> / <code>vim</code> / <code>nano</code> 等，<strong>不要使用 RE 管理器等其他具有 ROOT 权限的外部 APP</strong> 来修改 Termux 的文件</p>
<h3 id="社区源"><a href="#社区源" class="headerlink" title="社区源"></a>社区源</h3><p>镜像站还提供了如下社区维护的源，如需使用请自行添加：</p>
<ul>
<li><p><a href="https://mirrors.tuna.tsinghua.edu.cn/termux/x11-packages" target="_blank" rel="noopener">https://mirrors.tuna.tsinghua.edu.cn/termux/x11-packages</a></p>
</li>
<li><p><a href="https://mirrors.tuna.tsinghua.edu.cn/termux/unstable-packages" target="_blank" rel="noopener">https://mirrors.tuna.tsinghua.edu.cn/termux/unstable-packages</a></p>
</li>
<li><p><a href="https://mirrors.tuna.tsinghua.edu.cn/termux/termux-root-packages-24" target="_blank" rel="noopener">https://mirrors.tuna.tsinghua.edu.cn/termux/termux-root-packages-24</a></p>
<h3 id="警告"><a href="#警告" class="headerlink" title="警告"></a>警告</h3><p>镜像仅适用于 Android 7.0 (API 24) 及以上版本，旧版本系统使用本镜像可能导致程序错误。</p>
</li>
</ul>
<h2 id="安装软件包"><a href="#安装软件包" class="headerlink" title="安装软件包"></a>安装软件包</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">pkg install &lt;package-name&gt;</span><br><span class="line">apt install &lt;package-name&gt;</span><br><span class="line">apt-get install &lt;package-name&gt;</span><br></pre></td></tr></table></figure>

<h2 id="获取termux中的root"><a href="#获取termux中的root" class="headerlink" title="获取termux中的root"></a>获取termux中的root</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">pkg install proot</span><br></pre></td></tr></table></figure>


      
    </div>
    <footer class="article-footer">
      <a data-url="http://yoursite.com/termux/" data-id="ckpb8zvkp002gdsvl91gfgey5" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/termux/" rel="tag">termux</a></li></ul>

    </footer>
  </div>
  
</article>


  


  <nav id="page-nav">
    
    <a class="extend prev" rel="prev" href="/page/9/">&amp;laquo; 上一页</a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/8/">8</a><a class="page-number" href="/page/9/">9</a><span class="page-number current">10</span><a class="page-number" href="/page/11/">11</a><a class="page-number" href="/page/12/">12</a><a class="page-number" href="/page/13/">13</a><a class="extend next" rel="next" href="/page/11/">下一页 &amp;raquo;</a>
  </nav>

</section>
        
          <aside id="sidebar">
  
    

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">标签</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/tags/android/" rel="tag">android</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/data-structure/" rel="tag">data structure</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/docker/" rel="tag">docker</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/git/" rel="tag">git</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/go/" rel="tag">go</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo/" rel="tag">hexo</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/java/" rel="tag">java</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/javascript/" rel="tag">javascript</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/json/" rel="tag">json</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/linux/" rel="tag">linux</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/maven/" rel="tag">maven</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/mybatis/" rel="tag">mybatis</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/mysql/" rel="tag">mysql</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/network/" rel="tag">network</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/nginx/" rel="tag">nginx</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/nodejs/" rel="tag">nodejs</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/searching/" rel="tag">searching</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/sorting/" rel="tag">sorting</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/sublime-text/" rel="tag">sublime text</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/termux/" rel="tag">termux</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/theia/" rel="tag">theia</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/typora/" rel="tag">typora</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vala/" rel="tag">vala</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vim/" rel="tag">vim</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vue/" rel="tag">vue</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/zig/" rel="tag">zig</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/zookeeper/" rel="tag">zookeeper</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">标签云</h3>
    <div class="widget tagcloud">
      <a href="/tags/android/" style="font-size: 10px;">android</a> <a href="/tags/data-structure/" style="font-size: 10px;">data structure</a> <a href="/tags/docker/" style="font-size: 10px;">docker</a> <a href="/tags/git/" style="font-size: 15px;">git</a> <a href="/tags/go/" style="font-size: 10px;">go</a> <a href="/tags/hexo/" style="font-size: 10px;">hexo</a> <a href="/tags/java/" style="font-size: 18.33px;">java</a> <a href="/tags/javascript/" style="font-size: 11.67px;">javascript</a> <a href="/tags/json/" style="font-size: 10px;">json</a> <a href="/tags/linux/" style="font-size: 20px;">linux</a> <a href="/tags/maven/" style="font-size: 10px;">maven</a> <a href="/tags/mybatis/" style="font-size: 10px;">mybatis</a> <a href="/tags/mysql/" style="font-size: 11.67px;">mysql</a> <a href="/tags/network/" style="font-size: 11.67px;">network</a> <a href="/tags/nginx/" style="font-size: 10px;">nginx</a> <a href="/tags/nodejs/" style="font-size: 13.33px;">nodejs</a> <a href="/tags/searching/" style="font-size: 10px;">searching</a> <a href="/tags/sorting/" style="font-size: 16.67px;">sorting</a> <a href="/tags/sublime-text/" style="font-size: 10px;">sublime text</a> <a href="/tags/termux/" style="font-size: 10px;">termux</a> <a href="/tags/theia/" style="font-size: 10px;">theia</a> <a href="/tags/typora/" style="font-size: 10px;">typora</a> <a href="/tags/vala/" style="font-size: 10px;">vala</a> <a href="/tags/vim/" style="font-size: 15px;">vim</a> <a href="/tags/vue/" style="font-size: 11.67px;">vue</a> <a href="/tags/zig/" style="font-size: 10px;">zig</a> <a href="/tags/zookeeper/" style="font-size: 10px;">zookeeper</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">归档</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/05/">五月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/04/">四月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/03/">三月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/01/">一月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/11/">十一月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/10/">十月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/09/">九月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/08/">八月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/07/">七月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/06/">六月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/05/">五月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/03/">三月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/02/">二月 2020</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">最新文章</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/java-hashmap/">java.util.HashMap</a>
          </li>
        
          <li>
            <a href="/jvm/">JVM</a>
          </li>
        
          <li>
            <a href="/java-locks/">Java锁</a>
          </li>
        
          <li>
            <a href="/java-references/">Java引用</a>
          </li>
        
          <li>
            <a href="/gitea/">Gitea</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2021 Alanisia<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>


  
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css">

  
<script src="/fancybox/jquery.fancybox.pack.js"></script>




<script src="/js/script.js"></script>




  </div>
</body>
</html>